package com.zxw.service.video.api.application.service.impl;

import com.zxw.service.video.api.application.service.CacaService;
import com.zxw.service.video.domain.video.domain.aggregate.BaseQueryParam;
import com.zxw.service.video.domain.video.domain.aggregate.xQueryParam;
import com.zxw.service.video.domain.video.domain.repository.CacaRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.stereotype.Service;

/**
 * @author zxw
 * @date 2020/9/4 11:31
 */
@Service
public class CacaServiceImpl implements CacaService {
    @Autowired
    private CacaRepository cacaRepository;

    @Override
    public Page cacaIndex(BaseQueryParam baseQueryParam) {
        Page page = cacaRepository.cacaIndex(baseQueryParam);
        return page;
    }
}
